package com.annchain.og_browser.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("区块中的交易")
public class TransactionsInBlock {
    @ApiModelProperty("区块哈希")
    private String hash;
    @ApiModelProperty("交易类型")
    private String type;
    @ApiModelProperty("时间")
    private String outputTime;
    @ApiModelProperty("数据大小")
    private Integer dataSize;
    @ApiModelProperty("资产类型")
    private String name;
    @ApiModelProperty("数量")
    private Long amount;

    @ApiModelProperty("出块人")
    private AddressVo miner;
    @ApiModelProperty("From")
    private AddressVo from;
    @ApiModelProperty("To")
    private AddressVo to;

    @ApiModelProperty("可/不可增发")
    private String enableSpo;
}
